package com.glory.hikvisionmobile.bean.LotScrap;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ScrapBean implements Serializable {

    private String lotId;

    private String holdState;

    private String state;

    private String mainQty;

    private String partDesc;

    private String stepDesc;

    private String recipeName;

    private String partName;

    private String recipeDesc;

    private List<ScrapListBean>xPdaComponents;

    private List<XPdaStepMaterial> xPdaStepMaterials;

    private String subUnitType;

    private String scrapMatType;

    private String newLotId;

    public String getNewLotId() {
        return newLotId == null ? "" : newLotId;
    }

    public void setNewLotId(String newLotId) {
        this.newLotId = newLotId;
    }

    public String getScrapMatType() {
        return scrapMatType == null ? "" : scrapMatType;
    }

    public void setScrapMatType(String scrapMatType) {
        this.scrapMatType = scrapMatType;
    }

    public String getSubUnitType() {
        return subUnitType == null ? "" : subUnitType;
    }

    public void setSubUnitType(String subUnitType) {
        this.subUnitType = subUnitType;
    }

    public String getPartName() {
        return partName == null ? "" : partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getRecipeDesc() {
        return recipeDesc == null ? "" : recipeDesc;
    }

    public void setRecipeDesc(String recipeDesc) {
        this.recipeDesc = recipeDesc;
    }

    public String getLotId() {
        return lotId == null ? "" : lotId;
    }

    public void setLotId(String lotId) {
        this.lotId = lotId;
    }

    public String getHoldState() {
        return holdState == null ? "" : holdState;
    }

    public void setHoldState(String holdState) {
        this.holdState = holdState;
    }

    public String getState() {
        return state == null ? "" : state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMainQty() {
        return mainQty == null ? "" : mainQty;
    }

    public void setMainQty(String mainQty) {
        this.mainQty = mainQty;
    }

    public String getPartDesc() {
        return partDesc == null ? "" : partDesc;
    }

    public void setPartDesc(String partDesc) {
        this.partDesc = partDesc;
    }

    public String getStepDesc() {
        return stepDesc == null ? "" : stepDesc;
    }

    public void setStepDesc(String stepDesc) {
        this.stepDesc = stepDesc;
    }

    public String getRecipeName() {
        return recipeName == null ? "" : recipeName;
    }

    public void setRecipeName(String recipeName) {
        this.recipeName = recipeName;
    }

    public List<ScrapListBean> getxPdaComponents() {
        if (xPdaComponents == null) {
            return new ArrayList<>();
        }
        return xPdaComponents;
    }

    public void setxPdaComponents(List<ScrapListBean> xPdaComponents) {
        this.xPdaComponents = xPdaComponents;
    }

    public List<XPdaStepMaterial> getxPdaStepMaterials() {
        return xPdaStepMaterials;
    }

    public void setxPdaStepMaterials(List<XPdaStepMaterial> xPdaStepMaterials) {
        this.xPdaStepMaterials = xPdaStepMaterials;
    }
}
